swimlane-beta LR
subgraph Customer
L0N0[Place order]
L0N1[Receive confirmation]
L0N2[Receive goods]
L0N3[Rate service]
end
subgraph Sales
L1N0[Validate order]
L1N1[Check credit]
L1N2[Approve discount]
end
subgraph Warehouse
L2N0[Pick items]
L2N1[Pack order]
L2N2[Hand to carrier]
L2N3[Handle return]
end
subgraph Finance
L3N0[Create invoice]
L3N1[Collect payment]
L3N2[Reconcile]
L3N3[Issue refund]
end
subgraph Support
L4N0[Answer queries]
L4N1[Open case]
L4N2[Resolve case]
end
L0N0 --> L1N0
L1N0 --> L1N1
L1N1 -->|over limit| L1N2
L1N1 -->|ok| L3N0
L1N2 --> L3N0
L3N0 --> L3N1
L3N1 -->|paid| L2N0
L2N0 --> L2N1
L2N1 --> L2N2
L2N2 --> L0N2
L1N0 --> L0N1
L0N2 --> L0N3
L0N2 -->|problem| L4N1
L4N1 --> L4N0
L4N0 --> L4N2
L4N2 -->|return| L2N3
L2N3 --> L3N3
L3N3 --> L3N2
L3N1 --> L3N2